package com.iengoo.spacewar;

import java.util.Arrays;
import java.util.List;

/**
 * @author zpym
 * @CopyRight (C) http://www.iengoo.com
 * @brief 游戏基本配置
 * @email 122162005@qq.com
 * @date 2018-12-26 13:53
 */
public class Config {
    // 目前游戏所处的关卡
    public static GameLevel CURRENT_GAME_LEVEL = GameLevel.ad;
    // 目前游戏所处的状态
    public static GameStatus STATUS = GameStatus.INIT;
    // 游戏开始时间
    public static long START_TIME = 0;
    public static int PANEL_WIDTH = Grid.WIDTH * 6;
    public static int PANEL_HEIGHT = Grid.WIDTH * 11 + 2;
    /**
     * 被击中的单词中字母的下标位置（默认未击中，位置为-1）
     */
    public static final int FIRST_HIT_LETTER_INDEX = -1;
    public static final List<String> KEY_WORDS = Arrays.asList(
            "try", "catch", "finally", "public",
            "class", "static", "final", "double",
            "int", "short", "byte", "long", "float",
            "boolean", "char", "import", "java",
            "volatile", "abstract", "default",
            "goto", "null", "switch", "do", "if", "package",
            "break", "implements", "private", "this", "else",
            "protected", "throw", "throws", "case", "extends",
            "instanceof", "transient", "false", "return", "true",
            "interface", "void", "const", "native", "strictfp",
            "continue", "for", "new", "super", "while", "assert",
            "enum", "synchronized");
}
